<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Bookmark Navigation</title>
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
  <style>
    body {
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      background-color: #F7F8FA;
    }
    .sidebar {
      width: 280px;
      background: white;
      border-right: 1px solid #EBEDF0;
      height: 100vh;
      position: fixed;
      left: 0;
      top: 0;
      z-index: 30;
      overflow-y: auto;
      scrollbar-width: thin;
      scrollbar-color: #CBD5E0 transparent;
    }
    .sidebar::-webkit-scrollbar {
      width: 6px;
    }
    .sidebar::-webkit-scrollbar-track {
      background: transparent;
    }
    .sidebar::-webkit-scrollbar-thumb {
      background-color: #CBD5E0;
      border-radius: 3px;
    }
    .main-content {
      margin-left: 280px;
      padding: 32px;
      min-height: 100vh;
    }
    .bookmark-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 24px;
    }
    .bookmark-card {
      background: white;
      border: 1px solid #EBEDF0;
      border-radius: 12px;
      padding: 16px;
      transition: all 0.2s ease;
      position: relative;
      overflow: hidden;
    }
    .bookmark-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
      border-color: #E2E8F0;
    }
    .bookmark-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(to right, #3B82F6, #60A5FA);
      opacity: 0;
      transition: opacity 0.2s ease;
    }
    .bookmark-card:hover::before {
      opacity: 1;
    }
    .nav-item {
      padding: 12px 16px;
      color: #4B5563;
      display: flex;
      align-items: center;
      cursor: pointer;
      transition: all 0.2s;
      border-radius: 8px;
      margin: 4px 8px;
    }
    .nav-item:hover {
      background-color: #F3F4F6;
      color: #1F2937;
    }
    .nav-item.active {
      background-color: #EFF6FF;
      color: #2563EB;
      font-weight: 500;
    }
    .nav-item svg {
      width: 20px;
      height: 20px;
      margin-right: 12px;
      flex-shrink: 0;
    }
    .category-title {
      font-size: 24px;
      font-weight: 600;
      color: #1F2937;
      margin-bottom: 24px;
      padding-bottom: 16px;
      border-bottom: 1px solid #EBEDF0;
    }
    @keyframes slideIn {
      from {
        opacity: 0;
        transform: translateY(10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    .bookmark-menu {
      animation: slideIn 0.2s ease;
    }
    @media (max-width: 768px) {
      .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        width: 100%;
        max-width: 280px;
      }
      .sidebar.open {
        transform: translateX(0);
      }
      .main-content {
        margin-left: 0;
        padding: 24px 16px;
      }
      .bookmark-grid {
        grid-template-columns: 1fr;
        gap: 16px;
      }
    }

    /* Utility classes */
    .flex { display: flex; }
    .items-center { align-items: center; }
    .justify-between { justify-content: space-between; }
    .min-w-0 { min-width: 0; }
    .flex-1 { flex: 1 1 0%; }
    .flex-shrink-0 { flex-shrink: 0; }
    .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .relative { position: relative; }
    .absolute { position: absolute; }
    .w-full { width: 100%; }
    .h-full { height: 100%; }
    .text-sm { font-size: 0.875rem; }
    .font-medium { font-weight: 500; }
    .text-gray-500 { color: #6B7280; }
    .text-gray-600 { color: #4B5563; }
    .text-gray-700 { color: #374151; }
    .text-gray-900 { color: #111827; }
    .bg-gray-100 { background-color: #F3F4F6; }
    .rounded-lg { border-radius: 0.5rem; }
    .p-4 { padding: 1rem; }
    .px-4 { padding-left: 1rem; padding-right: 1rem; }
    .py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
    .mb-1 { margin-bottom: 0.25rem; }
    .mb-2 { margin-bottom: 0.5rem; }
    .mb-6 { margin-bottom: 1.5rem; }
    .mr-2 { margin-right: 0.5rem; }
    .mr-3 { margin-right: 0.75rem; }
    .ml-2 { margin-left: 0.5rem; }
    .opacity-0 { opacity: 0; }
    .group:hover .group-hover\:opacity-100 { opacity: 1; }
    .transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
    .z-10 { z-index: 10; }
    .ring-1 { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05); }
    .ring-black { --tw-ring-color: rgba(0, 0, 0, 0.1); }
    .ring-opacity-5 { --tw-ring-opacity: 0.05; }
    .shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
  </style>
</head>
<body class="bg-gray-50 min-h-screen">
  <div id="root"></div>
  <script src="vendor.js"></script>
  <script src="navigation.js"></script>
</body>
</html>
